package androidx.recyclerview.widget;

import androidx.annotation.NonNull;
import androidx.recyclerview.widget.ItemTouchHelper;
import androidx.recyclerview.widget.RecyclerView;

/**
 * @Author
 * @Date: 2022-01-2 14:13
 * @Description: 帖子touch
 */
public class VideoItemTouchHelper extends ItemTouchHelper {
    /**
     * Creates an ItemTouchHelper that will work with the given Callback.
     * <p>
     * You can attach ItemTouchHelper to a RecyclerView via
     * {@link #attachToRecyclerView(RecyclerView)}. Upon attaching, it will add an item decoration,
     * an onItemTouchListener and a Child attach / detach listener to the RecyclerView.
     *
     * @param callback The Callback which controls the behavior of this touch helper.
     */
    public VideoItemTouchHelper(@NonNull Callback callback) {
        super(callback);
    }

    public Callback getCallback() {
        return mCallback;
    }

    public float getInitialTouchX() {
        return mInitialTouchX;
    }

    public float getInitialTouchY() {
        return mInitialTouchY;
    }
}
